/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entities.vo;

import java.util.Vector;

/**
 *
 * @author Jhonny
 */
public class Articulo implements ItemTablaVO {

    private Integer referencia;
    private Integer stock;

    public Articulo() {
    }

    public Integer getReferencia() {
        return referencia;
    }

    public void setReferencia(Integer referencia) {
        this.referencia = referencia;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Vector<Object> toVector() {
        Vector<Object> vector = new Vector<Object>();
        vector.add(this);

        return vector;
    }

    public int getId() {
        return getReferencia();
    }
    
}
